xend: Platform feature 'multiprocessor suspend' is x86-only for now.
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Thu, 8 Mar 2007 14:57:33 +0000 (14:57 +0000)
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Thu, 8 Mar 2007 14:57:33 +0000 (14:57 +0000)
Signed-off-by: Keir Fraser <keir@xensource.com>
tools/python/xen/xend/XendDomainInfo.py

index 2689753266611ed4d809938932eb784fc0109788..c784c95f80e5eac87aa987afbda5209974882e4e 100644 (file)
@@ -781,7 +781,6 @@ class XendDomainInfo:
             'name':               self.info['name_label'],
             'console/limit':      str(xoptions.get_console_limit() * 1024),
             'memory/target':      str(self.info['memory_static_min'] * 1024),
-            'control/platform-feature-multiprocessor-suspend': str(1)
             }
 
         def f(n, v):
@@ -796,6 +795,9 @@ class XendDomainInfo:
         f('store/port',       self.store_port)
         f('store/ring-ref',   self.store_mfn)
 
+        if arch.type == "x86":
+            f('control/platform-feature-multiprocessor-suspend', True)
+
         # elfnotes
         for n, v in self.info.get_notes().iteritems():
             n = n.lower().replace('_', '-')